package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffGroupPullNPeopleDto
 * @使用场景
 */
@Data
public class BffGroupPullNPeopleDto implements Serializable {

  /**
   * 身份人员ID
   */
  @ApiModelProperty("身份人员ID")
  private String originalRoleMemberId;

  /**
   * 账号
   */
  @ApiModelProperty("账号")
  private String userId;
/**
     * 虚拟组织成员就职记录ID 
     */
    @ApiModelProperty("虚拟组织成员就职记录ID")
    private String	 virtualOrgInductionRecordId;

    /**
     * 备注首位字母 
     */
    @NotNull(message = "备注首位字母不能为空")
@ApiModelProperty("备注首位字母")
    private String	 firstLetter;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffGroupPullNPeopleDto that = (BffGroupPullNPeopleDto) o;
      return  originalRoleMemberId == that.originalRoleMemberId&&userId == that.userId&&virtualOrgInductionRecordId == that.virtualOrgInductionRecordId&&firstLetter == that.firstLetter;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), originalRoleMemberId,userId,virtualOrgInductionRecordId,firstLetter);
    }

}
